package com.tedu.weibotest.mapper;

import com.tedu.weibotest.pojo.entity.Weibo;
import com.tedu.weibotest.pojo.vo.WeiboDetailVO;
import com.tedu.weibotest.pojo.vo.WeiboIndexVO;
import com.tedu.weibotest.pojo.vo.WeiboListCommentVo;

import java.util.List;

public interface WeiboMapper {

    int insert(Weibo weibo);

    List<WeiboIndexVO> selectIndexWeibo();

    WeiboDetailVO selectDetailWeiboById(Integer id);

    List<WeiboListCommentVo> selectWeiboComment();
}
